﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace PhuongDoAn.UC
{
    public partial class uc_left : System.Web.UI.UserControl
    {
        public string register_title = "Đăng kí";

        public string link_register_myaccount = "Default.aspx?page=register";
        public string title_register_myaccount = "Đăng kí";

        public string link_login_cancel = "Default.aspx?page=login";
        public string title_login_cancel = "Đăng nhập";

        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session[ConfigKey.WEB_USER] != null)
            {
                title_register_myaccount = "Tài khoản";
                link_register_myaccount = "Default.aspx?page=register";

                title_login_cancel = "Thoát";
                link_login_cancel = "Default.aspx?page=logout";
            }

        }
    }
}